home *** CD-ROM | disk | FTP | other *** search
/ Windows Expert / Windows Expert.iso / utility / winspell.zip / INSTALL.BAT < prev    next >
DOS Batch File  |  1991-09-02  |  1KB  |  51 lines

  1. @echo off
  2. rem --- Check command line parameters
  3. if %1?==? goto syntax
  4. rem --- create directory
  5.     echo.
  6.     if not exist %1 mkdir %1
  7.     cls
  8.     echo Installing WinSpell in %1.  Wait...
  9.     copy winspell.exe %1 >nul
  10.     copy hook.dll     %1 >nul
  11.     copy winspell.hlp %1 >nul
  12.     copy winspell.wri %1 >nul
  13.     copy full.dct     %1 >nul
  14.     copy full.ndx     %1 >nul
  15.     copy common.dct   %1 >nul
  16.     copy asc2dct.exe  %1 >nul
  17.     copy dct2asc.exe  %1 >nul
  18.     copy readme.txt   %1 >nul
  19.     copy install.bat   %1 >nul
  20.     goto success
  21. :syntax
  22.     cls
  23.     echo.
  24.     echo syntax:  install [d:]path
  25.     echo.
  26.     echo where d: is the drive and path is the directory path
  27.     echo in which WinSpell should be installed.  For instance,
  28.     echo if you want to install WinSpell in the directory
  29.     echo WINSPELL on drive C: the command would be:
  30.     echo.
  31.     echo install c:\winspell
  32.     echo.
  33.     echo.
  34.     goto exit
  35. :success
  36.     echo.
  37.     echo.
  38.     echo WinSpell has been installed in %1.  Please do the following:
  39.     echo.
  40.     echo   1) Check for error messages such as "Insufficient disk space".
  41.     echo     a) Fix any errors and reinstall.
  42.     echo   2) Add %1 to the PATH environmental variable in your AUTOEXEC.BAT.
  43.     echo   3) Print or View the WinSpell Documentation
  44.     echo      by typing:
  45.     echo           win %1\winspell.wri
  46.     echo   4) Place the WINSPELL.EXE program in your Program Manager.
  47.     echo   5) Please register this program as specified in the documentation.
  48.     echo.
  49.     echo.
  50. :exit
  51.